package com.example.demo.design.demo06_decorator;

/**
 * Created by 蔡超 on 2018/10/1.
 */
public class Decorator extends Component {
    private Component component;

    public void setComponent(Component component) {
        this.component = component;
    }

    @Override
    public void operation() {
        component.operation();
    }
}
